package com.zy.mapper.sys;

import java.util.List;
import com.zy.model.sys.ZyUser;
import com.zy.model.sys.ZyUserExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface ZyUserMapper {
    int countByExample(ZyUserExample example);

    int deleteByExample(ZyUserExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ZyUser record);

    int insertSelective(ZyUser record);

    List<ZyUser> selectByExampleWithRowbounds(ZyUserExample example, RowBounds rowBounds);

    List<ZyUser> selectByExample(ZyUserExample example);

    ZyUser selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ZyUser record, @Param("example") ZyUserExample example);

    int updateByExample(@Param("record") ZyUser record, @Param("example") ZyUserExample example);

    int updateByPrimaryKeySelective(ZyUser record);

    int updateByPrimaryKey(ZyUser record);
}